package com.example.zzh.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 产品当前库存
 * </p>
 *
 * @author zzh
 * @since 2023-08-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ZzhProductStock对象", description="产品当前库存")
public class ZzhProductStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long materialId;

    @ApiModelProperty(value = "仓库id")
    private Long depotId;

    @ApiModelProperty(value = "当前库存数量")
    private BigDecimal currentNumber;

    @ApiModelProperty(value = "最低安全库存数量")
    private BigDecimal lowNumber;

    @ApiModelProperty(value = "最高安全库存数量")
    private BigDecimal highNumber;

    @ApiModelProperty(value = "0删除，1启用，2禁用")
    private Integer status;


}
